//    Copyright (C) Kherty.  All rights reserved.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using OpenLS.Core.Serialization;

namespace OpenLS.Spreadsheet
{
    class VbModule: Sheet
    {
        internal PropertyChangedEventHandler DimensionPropertyChanged;

        public VbModule(Workbook wb, SheetInfo info) : base(wb, info)
        {
        }

        internal override IEnumerable<CustomSheetView> GetCustomSheetViews()
        {
            throw new NotImplementedException();
        }

        internal override string UriPrefix
        {
            get { throw new NotImplementedException(); }
        }

        internal override string ContentType
        {
            get { throw new NotImplementedException(); }
        }

        internal override string RelationshipType
        {
            get { throw new NotImplementedException(); }
        }

        internal override void ReadXmlCore(ReadContext context)
        {
            throw new NotImplementedException();
        }

        internal override void WriteXmlCore(WriteContext context)
        {
            throw new NotImplementedException();
        }

        internal void NotifyDimensionPropertyChanged (Dimension dim, string propertyName)
        {
            var e = DimensionPropertyChanged;
            if (e != null)
                e(dim, new PropertyChangedEventArgs(propertyName));
        }
    }
}